stop using font
Type
command
Summary
Unloads a font file from memory.
Syntax
stop using font file <fontFile>
Description
The stop using font command unloads a font file from memory. The fontFile is the path of the font file to unload
note
The fontNames function will return the name of all available fonts and the fontFilesInUse property will return the fill paths of the loaded font files. To determine the name of the newly unloaded font, compare the value of the fontNames before and after unloading the font.
Parameters
Name | Type | Description |
---|---|---|
fontFile |
Examples
stop using font file "C:/myFontFolder/myCustomFont.ttf"
Related
property: fontFilesInUse
command: start using font
function: fontNames
Compatibility and Support
Introduced
LiveCode 6.5
OS
mac
windows
Platforms
desktop